import instance from '@/utils/request';

//供应商管理列表
export function GetSupplierManagementDtoDtoAsyne(data) {
    return instance.request({
        url: "api/SupplierManagement/GetSupplierManagementDtoDtoAsyne",//http://localhost:56212/api/Dictionary/GetResponseList?id=1
        method: "post",
        data
    })
}
//供应商管理删除
export function DeleteSupplierManagementDtoAsyne(data) {
    return instance.request({
        url: "api/SupplierManagement/DeleteSupplierManagementDtoAsyne",
        method: "post",
        data
    })
}

//供应商管理添加
export function SupplierManagementDtoAddSave(data) {
    return instance.request({
        url: "api/SupplierManagement/SupplierManagementDtoAddSave",
        method: "post",
        data
    })
}

//供应商管理反填
export function GetSupplierManagementById(data) {
    return instance.request({
        url: "api/SupplierManagement/GetSupplierManagementById",
        method: "post",
        data
    })
}

//供应商管理修改
export function SupplierManagementUpdate(data) {
    return instance.request({
        url: "api/SupplierManagement/SupplierManagementUpdate",
        method: "post",
        data
    })
}

//供应商管理批量删除
export function DeletesSupplierManagementIsDisable(data) {
    return instance.request({
        url: "api/SupplierManagement/DeletesSupplierManagementIsDisable",
        method: "post",
        data
    })
}